<?php $__env->startSection('title','专家管理页'); ?>
<?php $__env->startSection('content'); ?>
    <div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <div class="col-md-12" id="content">
                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>专家列表</h3>
                </div>

                <div>
                    <div style="float:right;">
                        <a href="/adm/expert/add"><button type="button" class="btn btn-primary"> 新增专家</button></a>
                    </div>
                </div>
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>id</th>
                        <th>姓名</th>
                        <th>职称</th>
                        <th>科室</th>
                        <th>医院</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php $__currentLoopData = $oExperts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $v): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <th><?php echo e($v->id); ?></th>
                            <th><?php echo e($v->name); ?></th>
                            <th><?php echo e($v->zhicheng); ?></th>
                            <th><?php echo e($v->keshi); ?></th>
                            <th><?php echo e($v->yiyuan); ?></th>
                            <form action="/adm/expert/deluser/<?php echo e($v->id); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <?php echo method_field('DELETE'); ?>

                                <th>

                                    <a href="/adm/expert/edit/<?php echo e($v->id); ?>"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span></a> &nbsp;&nbsp;&nbsp;
                                    <button type="submit" > <span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
                                </th>
                            </form>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>

            </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\xinyi\Desktop\510\resources\views/admin/expert.blade.php ENDPATH**/ ?>